package com.springsummer.information.green.beans;


/**
 * 扫描时使用的BeanDefinition
 */
public class ScannedGenericBeanDefinition extends GenericBeanDefinition implements AnnotatedBeanDefinition {

    public ScannedGenericBeanDefinition() {
        super();
    }

    public ScannedGenericBeanDefinition(String beanId, String beanClassName, String beanName, String scope, String factoryBeanClassName, String factoryMethodName, String initMethodName, String destroyMethodName, boolean singletonFlag, boolean prototypeFlag) {
        super(beanId, beanClassName, beanName, scope, factoryBeanClassName, factoryMethodName, initMethodName, destroyMethodName, singletonFlag, prototypeFlag);
    }

    @Override
    public String toString() {
        return "ScannedGenericBeanDefinition{" +
                "beanId='" + beanId + '\'' +
                ", beanClassName='" + beanClassName + '\'' +
                ", beanName='" + beanName + '\'' +
                ", scope='" + scope + '\'' +
                ", factoryBeanClassName='" + factoryBeanClassName + '\'' +
                ", factoryMethodName='" + factoryMethodName + '\'' +
                ", initMethodName='" + initMethodName + '\'' +
                ", destroyMethodName='" + destroyMethodName + '\'' +
                ", singletonFlag=" + singletonFlag +
                ", prototypeFlag=" + prototypeFlag +
                '}';
    }

}
